<template>
  <div id="app">
    <dv-full-screen-container
      v-loading="loading"
      element-loading-text="拼命加载中"
      element-loading-spinner="el-icon-loading"
      element-loading-background="rgba(0, 0, 0, 0.8)"
    >
      <!-- <div class="loading-box" v-if="loading"><dv-loading >Loading...</dv-loading></div> -->
      <!-- <dv-border-box-8 class="border-box" :dur="3000"></dv-border-box-8> -->
      <router-view />
      <!-- <t /> -->
    </dv-full-screen-container>
  </div>
</template>
<script>
import t from "@/views/olTest.vue";
export default {
  name: "Test1App",
  components: {
    t,
  },

  data() {
    return {
      loading: true,
    };
  },

  mounted() {
    setTimeout(() => {
      this.loading = false;
    }, 3000);
  },

  methods: {},
};
</script>
<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;

  padding: 0;
  margin: 0;
}

.baseLayerClass {
  filter: grayscale(100%) sepia(51%) invert(100%) saturate(450%);
}

// .transfromColor {
//   // filter:grayscale(200%) sepia(51%) invert(100%) saturate(650%) ;
// }

.geoJsonLine {
  box-shadow: 0 0 10px rgb(255, 6, 6);
}

.loading-box {
  width: 100%;
  height: 100%;
  background: #4788e39d !important;
}

.border-box {
  position: absolute !important;
  pointer-events: none;
  z-index: 9;
}

/**橙色点扩散闪烁样式*/
.point_animation {
  position: absolute;
  background: #ff9900;
  width: 16px;
  height: 16px;
  border: 2px #ff9900 solid;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
}

.point_animation p,
.point_animation span {
  position: relative;
  pointer-events: none;
  width: 14px;
  height: 14px;
  animation: point_animation 1.5s infinite;
  // box-shadow: 0px 0px 1px #ff9900;
  margin: 0px;
  border-radius: 50%;
  cursor: pointer;
}

.point_animation span {
  animation-delay: 0.8s;
}

@keyframes point_animation {
  0% {
    transform: scale(1);
    background-color: #ff9900;
  }

  100% {
    transform: scale(8);
    background-color: #ff990055;
  }
}

/**红色点扩散闪烁样式*/
.css_animation {
  height: 50px;
  width: 50px;
  border-radius: 25px;
  background: rgba(255, 0, 0, 0.8);
  border: rgba(255, 0, 0, 1) 1px solid;
  // transform: scale(0);
  transform: scale(0.3);
  animation: mypoint 3s;
  animation-iteration-count: infinite;
  cursor: pointer;
}

.css_animation::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 1);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes mypoint {
  to {
    transform: scale(1.5);
    background: rgba(0, 0, 0, 0);
    border: rgba(255, 0, 0, 0) 1px solid;
  }
}

.row-item {
  height: 50px !important;
  text-align: left !important;
}

.el-descriptions__body {
  background-color: inherit !important;
  color: inherit !important;
}

.right-row-bg {
  transition: 0.8s linear;
  -webkit-transition: 0.8s linear;
}

.dv-border-svg-container {
  pointer-events: none;
}
</style>

<style>
:root {
  --t-color: #1dc1f5;
  --t-color-no: #9E9E9E;
  --b-color: #2f338a;
  --b-color-1: #303370;
}

.ol-tooltip {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
  font-size: 12px;
  cursor: default;
  user-select: none;
}
.ol-tooltip-measure {
  opacity: 1;
  font-weight: bold;
}
.ol-tooltip-static {
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}
.ol-tooltip-measure:before,
.ol-tooltip-static:before {
  border-top: 6px solid rgba(0, 0, 0, 0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}
.ol-tooltip-static:before {
  border-top-color: #ffcc33;
}
</style>
